Results for spec@!opengl 1.0@gl-1.0-bitmap-heart-dance

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.099580
Stdout

        
Stderr
Failed to compile fragment shader: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

source:
#version 130 
uniform vec4      red; 
uniform vec4   salmon; 
uniform vec4     pink; 
uniform vec4   orange; 
uniform vec4 ltorange; 
uniform vec4   yellow; 
uniform int     xorig; 
uniform int     yorig; 
uniform int    length; 
uniform int       ysp; 
uniform int    height; 
uniform int  heart[8]; 

void main() 
{ 
    float zoom = 1.0; 
    vec4 black = vec4(0.0, 0.0, 0.0, 1.0); 
    int xsp = ysp + 8;  // Must be > 8. 
    vec2 fragCoord = gl_FragCoord.xy; 
    if ((fragCoord.x < xorig) || (fragCoord.y < height + yorig) ||
        (fragCoord.x > xorig + ((length - 1) * xsp) + 8) || 
        (fragCoord.y > height + yorig + (5*ysp) + 8)) { 
        gl_FragColor = black; 
        return; 
    } 
    fragCoord = fragCoord/zoom; 
    int i = int(fragCoord.y - yorig - height) % ysp; 
    int pointmask = i < 8 ? heart[i] : 0; 
    int j = int(fragCoord.x - xorig) % xsp; 
    if (j > 8) { 
      j = 0; 
    } 
    for (int r = 0; r < j; r++) { 
      pointmask = pointmask/2; //left shift. 
    } 
    if (pointmask % 2 == 1) { 
        int c = (int(fragCoord.y - height - yorig) / ysp) % 6; 
        switch (c) { 
           case 0: 
             gl_FragColor = yellow; 
             break; 
           case 1: 
             gl_FragColor = ltorange; 
             break; 
           case 2: 
             gl_FragColor = orange; 
             break; 
           case 3: 
             gl_FragColor = pink; 
             break; 
           case 4: 
             gl_FragColor = salmon; 
             break; 
           case 5: 
             gl_FragColor = red; 
             break; 
        } 
    } else { 
        gl_FragColor = black; 
    } 
} 
Environment
PIGLIT_SOURCE_DIR="/home/airlied/devel/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command
/home/airlied/devel/piglit/bin/gl-1.0-bitmap-heart-dance -auto -fbo
dmesg

        

Back to summary